Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.7k points)

In the Selenium options (on Firefox) I can find Custom browser.

Is it possible to use this option to run a Selenium test in Chromium Browser (not Chrome)?

1 Answer

0 votes
by (62.9k points)

For chromium use can use the following:

DefaultSelenium selenium = new DefaultSelenium("localhost", 4444, "*custom path/to/chromium `` ,''www.google.com ``);

selenium.start();

The other options that you can use are *custom, *chrome(note: this is not Google Chrome, it is a firefox mode only), *googlechrome, *iexplore. Please check selenium documentation for a complete list of the modes.

If you are interested to learn Selenium on a much deeper level and want to become a professional in the testing domain, enroll in Selenium course online!

...