How MaxSessions are different from MaxInstances properties of Selenium Grid

0 votes
How MaxSessions are different from MaxInstances properties of Selenium Grid?
Jun 21, 2019 in Selenium by Palak

edited Jun 22, 2019 4,552 views

1 answer to this question.

0 votes

Hello Palak, MaxInstances is the no. of browser instances (of same versions) that can run on the remote machine, as shown in following commands:

-browser browserName=firefox,version=59,maxInstances=3,platform=WINDOWS
-browser browserName=InternetExplorer,version=11,maxInstances=3,platform=WINDOWS

It means we can run three instances of both Firefox and IE at the same time. So, a total of six different browsers (FireFox & IE) could run in parallel. 

While MaxSession shows how many browsers, independent of the type & version, can run concurrently on the remote machine. It supersedes the “MaxInstances” setting. From above command, if the value of “maxSession” is one, then no more than a single browser would run. While its value is two, then any of these combinations (2FF, 2IE, 1FF+1IE) can run at a time.

answered Jun 24, 2019 by Anvi
• 14,150 points

Related Questions In Selenium

0 votes
1 answer

How are 'Selenium-server-standalone.jar' and 'Selenium Client & WebDriver' different from each other?

Okay, your understanding of "Selenium Server" & ...READ MORE

answered Apr 6, 2018 in Selenium by nsv999
• 5,500 points
2,639 views
0 votes
2 answers

How different/ similar are Protractor and Selenium? Which is better?

Protractor and Selenium both are used to ...READ MORE

answered Jun 9, 2019 in Selenium by Amod Mahajan
3,631 views
0 votes
1 answer

What are the different components of Selenium?

Selenium is a testing tool and comprises ...READ MORE

answered Jan 8, 2019 in Selenium by Fuji
1,264 views
0 votes
1 answer

What are locators in Selenium and what are the different types of it?

Hi Divya, in Selenium Locators define an ...READ MORE

answered May 7, 2019 in Selenium by Abha
• 28,140 points
2,381 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
12,756 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
8,624 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
6,699 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,561 views
0 votes
1 answer

How driver.close() and driver.quit() commands are different from each other in Selenium?

Hello Pallavi, Selenium WebDriver’s close() command closes the ...READ MORE

answered May 7, 2019 in Selenium by Anvi
• 14,150 points
1,811 views
0 votes
1 answer

How many types of Assertion are there in Selenium Webdriver?

Hey Suraj, there are two types of ...READ MORE

answered May 14, 2019 in Selenium by Anvi
• 14,150 points
2,379 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP