Everytime I find a video about executing selenium tests in a docker container, it's just showing the getTitle method. That works fine for me too, but when I try to locate another element, I always get an NoSuchElementException. But locally all my tests are running. Just in the docker container no elements can be found. What could be the problem here?
Awsome Explanation!sir. standalone of both chrome and firefox are headless or with head browser?Please can you suggest How to run cucumbetrBDD framework using docker as headless?sir
Thanks for the your effort. I have one doubt i have created java application docker image and it's pushed into my registery. But now the question how i need add this selenium chrome drive in my existing image which contains application changes?
Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure
Docker is installed on the local machine, image and container are created on local machine using the installed docker command then why are we using RemoteWebDriver?
I am using version 4.11 and this works as well : ChromeOptions browserOptions = new ChromeOptions(); URL url = new URL("localhost:4444/wd/hub"); RemoteWebDriver driver = new RemoteWebDriver(url,browserOptions);
use org.testcontainers.containers.BrowserWebDriverContainer so you can capture even a video and save it in a file! maven: org.testcontainers selenium 1.12.1
After running below command: C:\WINDOWS\system32>docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:latest i am getting error: docker: Error response from daemon: invalid volume specification: '/dev/shm:/dev/shm'. See 'docker run --help'. can anyone please help
While pulling images I am getting Error : image operating system "linux" cannot be used on this platform. I am working on Windows containers. Please guide.
Everytime I find a video about executing selenium tests in a docker
container, it's just showing the getTitle method. That works fine for me
too, but when I try to locate another element, I always get an
NoSuchElementException. But locally all my tests are running. Just in
the docker container no elements can be found. What could be the problem
here?
Thank you very much Pavan sir. Could you please create one video Resilience Testing for micro services. TIA.
Great piece of information, Thanks for all the Docker Videos !!! Easy to understand and implement.
Welcome
Awsome Explanation!sir. standalone of both chrome and firefox are headless or with head browser?Please can you suggest How to run cucumbetrBDD framework using docker as headless?sir
thank you so much for the clear explanation
Thanks for the your effort.
I have one doubt i have created java application docker image and it's pushed into my registery. But now the question how i need add this selenium chrome drive in my existing image which contains application changes?
Great!explanation sir
Can you suggest How to runcucumberBDD framework with Docker as headless browser?
Is the image preconfigured to run headless?
well explained !!
Thanks
Hi, can you execute script in a distributed environment? Like, runing a script in a docker container installed in a remote machine?
let me know if u find the answer
Hi sir,
It will work same for test ng ?
How to do the above steps if using Pycharm and python for selenium test, is there any tutorial of yours
Sir Desired Capabilities is no deprecated , So what to do now , Could not find solution. Waiting for help.
Thank u so much, this s exactly what I m looking for 🙏🙏
You’re welcome
Awesome very easy to understand! Will definitely try to implement
Thanks
Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure
hi sir......can you please share the software which is you are using to write a maven project in this video.
Docker is installed on the local machine, image and container are created on local machine using the installed docker command then why are we using RemoteWebDriver?
When the next video will come sir
While the tests are executed on containers, we cannot see the execution like the opening of browser and navigation?
Use VNC viewer
Thanks a lot Sir......
Welcome
how to change geolocation when using remote chrome webdriver?
Than you so much
Welcome
Hello sir, I am getting error that chrome() is undefined for the type DesiredCapabilities. Please help me out.
if you are using selenium erbdriver version 3.8+ then you will get an error. use .3.141.59
@@sudhindradeshpande4167 , its working , thank you sir
I am using version 4.11 and this works as well :
ChromeOptions browserOptions = new ChromeOptions();
URL url = new URL("localhost:4444/wd/hub");
RemoteWebDriver driver = new RemoteWebDriver(url,browserOptions);
Hello sir, how u get the url of docker remote grid ???
URL of Grid Hub is default everywhere. Read this Doc:www.seleniumhq.org/docs/07_selenium_grid.jsp
What about the screenshot, where and how it will be stored in case of test fail
use
org.testcontainers.containers.BrowserWebDriverContainer
so you can capture even a video and save it in a file!
maven:
org.testcontainers
selenium
1.12.1
Hello Sir.. Can u make a video of Docker with appium from scratch?
Hi, I have 200 test case. If I want to run 10 paralel what should I do ?
Can you testng xml and put parallel threads as 10?
Sir please upload videos on playwright with docker
how can I run this script on python ?
I mean to say python + selenium + Docker
Wow, thank you 👍👍
Welcome
After running below command:
C:\WINDOWS\system32>docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:latest
i am getting error:
docker: Error response from daemon: invalid volume specification: '/dev/shm:/dev/shm'.
See 'docker run --help'. can anyone please help
Can you please make video of integration of docker with BDD framework
While pulling images I am getting Error : image operating system "linux" cannot be used on this platform.
I am working on Windows containers.
Please guide.
I cannot run in Python using pycharm, please in java I cannot use
******************* Upload some videos on Javascript with Cypres its now booming in market **************************************
coming soon. Please stay tuned!