Selenium docs suggest deprecated `getTestHostIpAddress()` instead of host exposing mechanism
See original GitHub issueTrying to get my Selenium WebDriver testcontainer up, I get the following error when I try to get the host’s port using getTestHostIpAddress()
:
Caused by: java.lang.UnsupportedOperationException: getTestHostIpAddress() is only implemented for docker-machine right now
I am running this on Ubuntu 20.04
Any ideas?
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Networking and communicating with containers - Testcontainers
getContainerIpAddress() is believed to be confusingly named, and will eventually be deprecated. Exposing host ports to the container. In some cases it is ......
Read more >Deprecated List - Selenium
When searching for a single element, the driver should poll the page until the element has been found, or this timeout expires before...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
lol I meant to the Webdriver docs, they just have you use
getTestHostIpAddress()
Ah, great point, thank you! Would you like to contribute a fix? 😃
Here is the file: https://github.com/testcontainers/testcontainers-java/blob/master/docs/modules/webdriver_containers.md