Using selenium web driver to run test on multiple browsers

后端 未结 7 1054
时光说笑
时光说笑 2021-02-04 19:42

I\'m trying to run a same test across multiple browsers through for loop but it always run only on Firefox.

bros = [\'FIREFOX\',\'CHROME\',\'INTERNET EXPLORER\']         


        
7条回答
  •  不要未来只要你来
    2021-02-04 20:29

    You can use TestNG for this combination of selenium + testng gives you a batter result for this just by adding parameters attribute you can do this

提交回复
热议问题