Using selenium web driver to run test on multiple browsers

后端 未结 7 973
时光说笑
时光说笑 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.

提交回复
热议问题