Diziana
- Total activity 285
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 26
- Subscriptions 146
Articles
Recent activity by Diziana Sort by recent activity-
Opera
Again, nothing to see here. Opera Blink is relatively new so we are just going to go with the default set of options for now. You don't need to use any of the desired capabilities described earl...
-
Safari
Safari used to have some problems clearing down http-only cookies and secure cookies. The safari.cleanSession capability is a way to try and force a clear down of settings that SafariDriver (a J...
-
Internet Explorer
InternetExplorerDriver has a lot of challenges; it attempts to work with multiple different versions of Internet Explorer and generally does a very good job. These capabilities are used to try a...
-
Chrome
We have a couple of options here to try and keep things running smoothly. Chrome has various command-line switches that can be used when starting it up with ChromeDriver. When we load up Chrome ...
-
Firefox
Nothing to see here; the default Firefox pro le is normally ne so it's just using all the defaults.
-
Multiple browser support
So far, we have parallelized our tests so that we can run multiple browser instances at the same time. However, we are still using only one type of driver, the good old FirefoxDriver. I mentione...
-
There are no silver bullets
As with everything, keeping your browser windows open while you run all of your tests will not work in every instance. If you use InternetExplorerDriver, you will probably nd when using sligh...
-
The rst addition to our code is a synchronized list where we can store all our instances of WebDriverThread.
We then modi ed our initialValue() method to add each instance of WebDriverThread that we create to this new synchronized list. This is so that we can keep track of all our threads. Next we rena...
-
First of all, we will try and deal with our session problem.
WebDriver has a command that will allow you to clear out your cookies, so we will trigger this after every test. We will then add a new @AfterSuite annotation to close the browser once all of th...
-
Let's spin up our test again using the following command:
mvn clean install You won't notice any difference. However if you now specify some threads by performing this: mvn clean install -Dthreads=2 You will see that this time two Firefox browsers op...