karate: How to initial RemoteWebDriver in karate [duplicate] - karate

This question already has answers here:
Karate - UI Testing - When using Zalenium Safari and MSEDGE immediately error on driver/session call => no capabilities found [duplicate]
(2 answers)
Closed 1 year ago.
We are using docker in our CI process. I want to initiate 'RemoteWebDriver' in docker container for chrome. IS it possible doing this using karate framework?

As of now there is no built-in support, but you can try using the instructions here: https://github.com/intuit/karate/tree/develop/karate-core#custom-target
EDIT: this is supported in 0.9.5
Docs: https://github.com/intuit/karate/tree/master/karate-core#webdriversession

Related

How to record a video in headless mode for test cases using karate [duplicate]

This question already has an answer here:
Running karate tests on chrome with chromedriver inside docker
(1 answer)
Closed 1 year ago.
I'm automating my test cases using the Karate for UI automation.
I'm using headless mode in google chrome for running the test cases.
Is there a way to record a video of the execution of the test cases?
I don't think so - but you are welcome to do some research and contribute code to Karate if needed.

robot.input is not entering text on dockerized browser [duplicate]

This question already has answers here:
Karate Robot: Not able to click button using image
(2 answers)
Closed 1 year ago.
I encountered an issue while running my UI test cases on dockerized browsers. When I using 'robot.input(value)' for entering a text(input and value function not working for me), then instead of entering value on docker browsers it is entering text on my host windows browser. I am using the karate 0.9.6 version.
This is working fine in a normal browser.
Not sure if this issue is solved in newer versions.
The combination of robot and driver is not proven especially for Docker.
Please consider helping us troubleshoot and solve this problem, this is an open-source project.

UnreachableBrowserException Chrome/Firefox Driver & Selenium [duplicate]

This question already has answers here:
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server
(2 answers)
Closed 4 years ago.
When I try to start a WebDriver with Selenium 3.14, 3.13 or 3.12 I get
"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." error.
I can run tests with older Selenium versions without an error. I have already set the Envirioment Variables (e.g. webdriver.chrome.driver). Also I have tried "System.setProperty" method. I use jdk8, maven 3.5.4 on IntelliJ.
A possible reason for this exception could be incompatible version of chromedriver.exe
Disable your chrome browser's auto updates, check its version and download compatible chromedriver and see if this works.

Failed to create Library in intelliji when configuring groovy sdk [duplicate]

This question already has answers here:
IntelliJ IDEA won't load Groovy found on my disk
(4 answers)
Closed 5 years ago.
Intelliji Version: 2017.1
Groovy version : 2.4.10 (zip file from official website)
Got following error in intelliji when configuring groovy library.
switched to 2.4.8 solved my problem, seems like intelliji doesn't support the latest version of groovy

How to pack a Safari extension programmatically? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How can I build a Safari extension package from the command line?
I'm working on a web browser extension for Safari.
Is there any way to create a .safariextz package from the Linux or Mac commandline, in the same way we can do it for Firefox and Chrome extensions?
I am looking for this too.
It seems you can use XAR with a patch.
See also:
How can I build a Safari extension package from the command line?