Book Image

Learning Selenium Testing Tools - Third Edition

Book Image

Learning Selenium Testing Tools - Third Edition

Overview of this book

Table of Contents (22 chapters)
Learning Selenium Testing Tools Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding Selenium Server to do specific browser tasks on specific operating systems


Selenium Grid is extremely powerful when we start using different browsers on the grid, since we can't run all the different browsers on a single machine due to operating systems and browser combinations. There are currently up to nine different combinations that are used by most people, so getting Selenium Grid to help with this can give you the test coverage that you need.

To do this, we pass in the –browser argument in a command-line call. Let's see how we can set the items.

Setting the environment when starting Selenium Remote Control

Now that we need to get Internet Explorer Selenium Remote Controls added to our grid, we have to add the –browser argument to our call with the target on the configured environments. Since we want to use Internet Explorer, we can use the IE on the Windows target:

  1. Open a console or Command Prompt.

  2. Run the following command:

    java -jar selenium-server-standalone.jar -role node  -hub...