Using selenium web driver to run test on multiple browsers

后端 未结 7 970
时光说笑
时光说笑 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:36

    You will have to generate multiple test classes (or webdriver instances) with the chosen browsers. A Webdriver is defined with one browser.

    0 讨论(0)
提交回复
热议问题