Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

How to make Serenity to use my custom defined Chrome Option ? #237

Open
ManikandanSekhar opened this issue Jun 11, 2020 · 0 comments
Open

Comments

@ManikandanSekhar
Copy link

How to make Serenity to use my custom defined Chrome Option ?

For FireFox:
I usually define as mentioned below

FirefoxProfile myProfile=new FirefoxProfile();
myProfile.setPreference("",);

Serenity.useFirefoxProfile(myProfile);
Basically the above line is going to make sure that getDriver() is going to assigned with that properties

I would like to know How to make Serenity to use my custom defined Chrome Option ? so that getDriver() will be assigned with that properties .

for fireFox we have Serenity.useFirefoxProfile(myProfile); Do we have anything for chome ?

Any help is appreciated .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant