Skip to content

Commit

Permalink
[py] Fixing tests for Firefox options to capabilities converter
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Mar 31, 2020
1 parent 9cce64a commit aa2c09a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py/test/selenium/webdriver/marionette/mn_options_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ def test_arguments(self):

def test_to_capabilities(self):
opts = Options()
assert opts.to_capabilities() == DesiredCapabilities.FIREFOX
firefox_caps = DesiredCapabilities.INTERNETEXPLORER.copy()
firefox_caps.update({"pageLoadStrategy": "normal"})
assert opts.to_capabilities() == firefox_caps

profile = FirefoxProfile()
opts.profile = profile
Expand Down

0 comments on commit aa2c09a

Please sign in to comment.