Hi,
I want to open Google chrome as headless in my local system, and do some action.
can you please guide me how can i do that? Would be helpful if you share user code for that.
like in selenium, you can use below code, i am looking something for Ranorex .
FirefoxOptions options = new FirefoxOptions();
options.addArguments("--headless");
driver = new FirefoxDriver(options);
Thanks.
Open Google Chrome locally as Headless and perform some action
Re: Open Google Chrome locally as Headless and perform some action
Hi,
Headless automation is only possible via Ranorex webdriver integration. So, at first, you must create a webdriver endpoint (as described here). And then you must use endpoint configuration like this:
Headless automation is only possible via Ranorex webdriver integration. So, at first, you must create a webdriver endpoint (as described here). And then you must use endpoint configuration like this:
Code: Select all
{
"browserName": "chrome",
"chromeOptions": {
"args" : ["headless"]
}
}
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Open Google Chrome locally as Headless and perform some action
got it, thank you.