Skip to content

Configuring browser on local #77

Answered by eliasnogueira
carabusu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @carabusu ,
Thanks for your issue.

The chrome is in use because it's the default browser set in the BaseWeb class.
The single test execution via the test class was meant to execute via chrome all the time.

When you want to run in different browsers we must either change the @Optional parameter to firefox or run the tests via a TestNG test suite setting the parameter value as Firefox

<parameter name="browser" value="firefox"/>

You can easily change the existing test suite local.xml.

Please, let me know if you have any other questions.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by carabusu
Comment options

You must be logged in to vote
3 replies
@eliasnogueira
Comment options

@DamianSzp
Comment options

@eliasnogueira
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants