Skip to content

Commit

Permalink
[py] Making path to selenium server independent of the current workin…
Browse files Browse the repository at this point in the history
…g dir
  • Loading branch information
barancev committed Sep 25, 2019
1 parent fbaf35f commit 4e102f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ def server(request):

_host = 'localhost'
_port = 4444
_path = '../bazel-bin/java/server/src/org/openqa/selenium/grid/selenium_server_deploy.jar'
_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'bazel-bin/java/server/src/org/openqa/selenium/grid/selenium_server_deploy.jar')

def wait_for_server(url, timeout):
start = time.time()
Expand Down

0 comments on commit 4e102f6

Please sign in to comment.