STARTING SELENIUM SERVER using Java code
Step 1: For that first we need to import SeleniumServer class
Which exist in following package.
Import org.openqa.selenium.server.*;
Step 2: Now we need to create SeleniumServer object.
SeleniumServer sr = new SeleniumServer(rc);
Here I am creating selenium server object and passing configuration object as an argument.
Step 3: We need to boot selenium server.
sc.boot();
Step 4: Stating Selenium Server
sc.start();
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment