|
10 | 10 | "platformName" : "android", |
11 | 11 | "platformVersion" : "9.0", |
12 | 12 | "deviceName" : "Google Pixel 3", |
| 13 | + "project" : "BrowserStack Samples", |
| 14 | + "build" : "browserstack build", |
| 15 | + "name" : "BStack sample python-appium", |
| 16 | + |
| 17 | + # Set your access credentials |
| 18 | + "browserstack.user" : "YOUR_USERNAME", |
| 19 | + "browserstack.key" : "YOUR_ACCESS_KEY", |
13 | 20 |
|
14 | 21 | # Set URL of the application under test |
15 | 22 | "app" : "bs://<app-id>", |
16 | | - |
17 | | - # Set other BrowserStack capabilities |
18 | | - 'bstack:options' : { |
19 | | - "projectName" : "BrowserStack Samples", |
20 | | - "buildName" : "browserstack build", |
21 | | - "sessionName" : "BStack sample python-appium", |
22 | | - |
23 | | - # Set your access credentials |
24 | | - "userName" : "YOUR_USERNAME", |
25 | | - "accessKey" : "YOUR_ACCESS_KEY" |
26 | | - } |
27 | 23 | }) |
28 | 24 |
|
29 | 25 | # Initialize the remote Webdriver using BrowserStack remote URL |
30 | | -driver = webdriver.Remote("http://localhost:4444/wd/hub", options=options) |
| 26 | +driver = webdriver.Remote("http://127.0.0.1:4723/wd/hub", options=options) |
31 | 27 |
|
32 | 28 | # Test case for the BrowserStack sample Android app. |
33 | 29 | # If you have uploaded your app, update the test case here. |
|
0 commit comments