Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
sangaline authored and davehunt committed Oct 4, 2018
1 parent 0db4c0c commit 3692e71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/test/selenium/webdriver/firefox/ff_profile_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,14 @@ def test_that_we_can_add_a_webextension(capabilities, webserver):
extension_filename = 'webextension.xpi'
# TODO: This file should probably live in a common directory.
current_directory = os.path.dirname(os.path.realpath(__file__))
root_directory = os.path.join(current_directory, '..' , '..', '..', '..', '..')
root_directory = os.path.join(current_directory, '..', '..', '..', '..', '..')
data_directory = os.path.join(root_directory, 'javascript', 'node',
'selenium-webdriver', 'lib', 'test', 'data', 'firefox')
full_extension_filename = os.path.join(data_directory, extension_filename)

profile = FirefoxProfile()
profile.add_extension(full_extension_filename)

driver = Firefox(fcapabilities=capabilities, firefox_profile=profile)
driver = Firefox(capabilities=capabilities, firefox_profile=profile)
driver.get(webserver.where_is('simpleTest.html'))
driver.find_element_by_id('webextensions-selenium-example')

0 comments on commit 3692e71

Please sign in to comment.