r/selenium • • Feb 22 '21

How To Run Selenium Tests In Brave Browser Using ChromeDriver?

0 Upvotes

9 comments sorted by

2

u/melihiffet Feb 23 '21

Why Brave Browser?

1

u/Abodeqa Feb 24 '21

Because people are not shifting to Brave Browser and Some of the companies are picking up Brave in Place of Chrome For their Automation Execution.

1

u/[deleted] Feb 23 '21

curious how it might (or might not) handle different hooks for browser detection/automation detection against some of the big bot detectors; chrome essentially hands the keys over to the bot detectors and screams "hey im a bot bro"

4

u/romulusnr Feb 23 '21

TL;DR:

ChromeOptions options = new ChromeOptions();
options.setBinary("C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe");
WebDriver driver = new ChromeDriver(options);

1

u/SwarthyHattter Apr 09 '21

this looks like python but what are those white spaces ? ex) WebDriver driver

1

u/romulusnr Apr 09 '21

lol

also what's with the little dotty things at the ends of lines?

1

u/Nill2013Br Jun 09 '21

I've tried several things to use with excel VBA and I couldn't get it to work. Does anyone have any tips?

-9

u/Abodeqa Feb 22 '21

Here one post which I have made for all of our fellow testers/automation engineers about the brave browser.

So have a look and if you have any other finding please share
https://abodeqa.com/selenium-tests-in-brave-browser/

3

u/MurkyYogurtcloset5 Feb 23 '21

Did you forget to log out and into your other account before you posted this yourself?