Issue
Is it possible to make sure that Allow Windows sigle sign-on for Microsoft, work, and school accounts
is checked when using the browser driver for Firefox in Selenium?
Everytime I re-run Selenium I end up with it unchecked.
Solution
Something like this should work:
opts = FirefoxOptions()
...
prof = webdriver.FirefoxProfile()
prof.set_preference('network.http.windows-sso.enabled', True)
...
executable_path = ...
service = FirefoxService(executable_path=executable_path, firefox_profile=prof)
driver = webdriver.Firefox(service=service, options=opts)
Answered By - stansy
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.