I haven't got a clear explanation of these two. Can anyone please explain this to me?
What's WebDriver and RemoteWebDriver? When and where we can declare it in selenium scripts?
In place of WebDriver can we declare the RemoteWebDriver?
I haven't got a clear explanation of these two. Can anyone please explain this to me?
What's WebDriver and RemoteWebDriver? When and where we can declare it in selenium scripts?
In place of WebDriver can we declare the RemoteWebDriver?
The short answer is that RemoteWebDriver is to run selenium on other machines.
RemoteWebDriver as interface of WebDriver and few more methods.
on your local machine you can use both RemoteWebDriver & WebDriver but if you will to run it on different machine, you will need to use RemoteWebDriver.