@@ -1588,21 +1588,20 @@ def pytest_configure(config):
15881588 if not sb_config .headless and not sb_config .headless2 :
15891589 sb_config .headed = True
15901590
1591- if sb_config ._multithreaded :
1592- if config .getoption ("use_chrome" ):
1593- sb_config .browser = "chrome"
1594- elif config .getoption ("use_edge" ):
1595- sb_config .browser = "edge"
1596- elif config .getoption ("use_firefox" ):
1597- sb_config .browser = "firefox"
1598- elif config .getoption ("use_ie" ):
1599- sb_config .browser = "ie"
1600- elif config .getoption ("use_opera" ):
1601- sb_config .browser = "opera"
1602- elif config .getoption ("use_safari" ):
1603- sb_config .browser = "safari"
1604- else :
1605- pass # Use the browser specified using "--browser=BROWSER"
1591+ if config .getoption ("use_chrome" ):
1592+ sb_config .browser = "chrome"
1593+ elif config .getoption ("use_edge" ):
1594+ sb_config .browser = "edge"
1595+ elif config .getoption ("use_firefox" ):
1596+ sb_config .browser = "firefox"
1597+ elif config .getoption ("use_ie" ):
1598+ sb_config .browser = "ie"
1599+ elif config .getoption ("use_opera" ):
1600+ sb_config .browser = "opera"
1601+ elif config .getoption ("use_safari" ):
1602+ sb_config .browser = "safari"
1603+ else :
1604+ pass # Use the browser specified by "--browser=BROWSER"
16061605
16071606 if sb_config .dash_title :
16081607 constants .Dashboard .TITLE = sb_config .dash_title .replace ("_" , " " )
0 commit comments