You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the docker-compose.yaml for the selenoid. I get an error in my Python script. I tested it with Chrome and Firefox. However the script works with the docker-compose-selenium-grid.yaml
Python Version: 3.9.13
Selenium Version: 4.6.0
How to reproduce the issue
Use following script and save it in issue.py:
from selenium import webdriver
from selenium.webdriver.common.by import By
options = webdriver.FirefoxOptions()
driver = webdriver.Remote(command_executor="http://localhost:8085", options=options)
driver.get("https://mdn.github.io/web-components-examples/life-cycle-callbacks/")
btn = driver.find_element(By.XPATH, '//button[contains(@class, "add")]')
print(btn)
Then execute: docker pull selenoid/vnc:firefox_101.0 docker-compose up python issue.py
### Logs appeared during using Healenium
```shell
HLM-selenoid:
2022/11/11 15:23:11 [-] [INIT] [Loading configuration files...]
2022/11/11 15:23:11 [-] [INIT] [Loaded configuration from /etc/selenoid/browsers.json]
2022/11/11 15:23:11 [-] [INIT] [Video Dir: /opt/selenoid/video]
2022/11/11 15:23:11 [-] [INIT] [Your Docker API version is 1.41]
2022/11/11 15:23:11 [-] [INIT] [Timezone: UTC]
2022/11/11 15:23:11 [-] [INIT] [Listening on :4444]
2022/11/11 15:26:03 [-] [INIT] [Loading configuration files...]
2022/11/11 15:26:03 [-] [INIT] [Loaded configuration from /etc/selenoid/browsers.json]
2022/11/11 15:26:03 [-] [INIT] [Video Dir: /opt/selenoid/video]
2022/11/11 15:26:03 [-] [INIT] [Your Docker API version is 1.41]
2022/11/11 15:26:03 [-] [INIT] [Timezone: UTC]
2022/11/11 15:26:03 [-] [INIT] [Listening on :4444]
2022/11/11 15:26:53 [-] [NEW_REQUEST] [unknown] [172.18.0.6]
2022/11/11 15:26:53 [-] [NEW_REQUEST_ACCEPTED] [unknown] [172.18.0.6]
2022/11/11 15:26:53 [0] [LOCATING_SERVICE] [firefox] []
2022/11/11 15:26:53 [-] [DEFAULT_VERSION] [Using default version: 106.0]
2022/11/11 15:26:53 [0] [ENVIRONMENT_NOT_AVAILABLE] [firefox] []
Expected behavior
An Webelemnt to interact with.
Similar like this: <selenium.webdriver.remote.webelement.WebElement (session="0ec15e53-edf1-455a-bcf7-2f1295170b68", element="df0193aa-ca85-4900-a05f-0a98322de74e")>
Actual behavior
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 288, in __init__
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 384, in start_session
self.session_id = response["sessionId"]
KeyError: 'sessionId'
Healenium Proxy version
1.1.0
Healenium Backend version
3.2.4
Selenium version
4.6.0
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
When I use the docker-compose.yaml for the selenoid. I get an error in my Python script. I tested it with Chrome and Firefox. However the script works with the docker-compose-selenium-grid.yaml
Python Version: 3.9.13
Selenium Version: 4.6.0
How to reproduce the issue
Then execute:
docker pull selenoid/vnc:firefox_101.0
docker-compose up
python issue.py
Expected behavior
An Webelemnt to interact with.
Similar like this:
<selenium.webdriver.remote.webelement.WebElement (session="0ec15e53-edf1-455a-bcf7-2f1295170b68", element="df0193aa-ca85-4900-a05f-0a98322de74e")>
Actual behavior
Healenium Proxy version
1.1.0
Healenium Backend version
3.2.4
Selenium version
4.6.0
Additional context
No response
The text was updated successfully, but these errors were encountered: