2. Configuration RemoteWebDriver for Healenium
Go into healenium folder or download
cd healenium
docker-compose up -d
docker-compose -f docker-compose-selenoid.yaml up -d
To run tests using Healenium, create a Remote Web Driver with URL http://<hlm-proxy-host>:<hlm-proxy-port>
.
In the case of a local launch: http://localhost:8085
ChromeOptions options = new ChromeOptions();
WebDriver driver = new RemoteWebDriver(new URL("http://localhost:8085"), options);
To run tests in terminal with pytest you need to go to execute next commands:
mvn clean test