Skip to content

Commit c81def1

Browse files
authored
Update lambdatest.py
changes related to new selenium update in python
1 parent d17450c commit c81def1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lambdatest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import os
44
from selenium import webdriver
55
from selenium.webdriver.common.by import By
6+
from selenium.webdriver.chrome.options import Options as ChromeOptions
67

78
username = os.getenv("LT_USERNAME") # Replace the username
89
access_key = os.getenv("LT_ACCESS_KEY") # Replace the access key
@@ -35,7 +36,7 @@
3536
# Note: for additional capabilities navigate to https://www.lambdatest.com/support/docs/test-settings-options/
3637

3738
driver = webdriver.Remote(
38-
command_executor="http://{}:{}@beta-smartui-hub.lambdatest.com/wd/hub".format(
39+
command_executor="http://{}:{}@hub.lambdatest.com/wd/hub".format(
3940
username, access_key),options=options)
4041

4142
# tearDown runs after each test case

0 commit comments

Comments
 (0)