RSS

Capabilities & Chrome Options


1024px-Chrome_Logo.svg

Capabilities are options that you can use to customize and configure a ChromeDriver session. This page documents all ChromeDriver supported capabilities and how to use them.

There are two ways to specify capabilities.

  1. The first is to use the ChromeOptions class.
  2. If your client library does not have a ChromeOptions class (like the selenium ruby client), you can specify the capabilities directly as part of the DesiredCapabilities.

Read the rest of this entry »

Advertisements
 
Leave a comment

Posted by on 15/03/2016 in Java, Selenium

 

Groovy File Examples

 2000px-Groovy-logo.svgFile processing is one of the most common task in programming. Fortunately, Groovy makes file manipulation easier. Things that are long and complicated in Java are now very much concise in Groovy. Here are some Groovy File programming examples.

Read the rest of this entry »

 
Leave a comment

Posted by on 15/03/2016 in Jmeter

 

Convert Milliseconds To Hours, Minutes, And Seconds

So this is embarrassing, but I needed to re-do a lab sincejava_logo_square_sticker-r8d8dadc5559a4f07a938cfbe473ccbde_v9wf3_8byvr_512 my teacher lost it and I deleted the file! I would appreciate any guidance. I think the title is self explanatory , so I am pretty much stuck with some of my math and am getting an error – it says it cannot find symbol ‘convert’ on line 13?

Read the rest of this entry »

 
Leave a comment

Posted by on 07/03/2016 in Java

 

JMeter how to NOT fail 500 Internal Server Errors

Access and modify SampleResult – to change the status from “FAIL” to “PASS” if the code is 500 – from your BeanShell Assertion / BSF Assertion or use BeanShell PostProcessor / BSF PostProcessor instead – they all have access to SampleResult Object.

Read the rest of this entry »

 
Leave a comment

Posted by on 07/03/2016 in Jmeter

 

API types

I’m putting together a list of the various types of API we might encounter. This is primarily a resource for technical writers, who may need to know what type of thing they could be asked to document if they take on the role of API tech writer.

Read the rest of this entry »

 
Leave a comment

Posted by on 07/03/2016 in Java

 

System.currentTimeMillis vs System.nanoTime

If you’re just looking for extremely precise measurements of elapsed time, use

Read the rest of this entry »

 
Leave a comment

Posted by on 04/03/2016 in Java

 

How to set Proxy setting for Chrome in Selenium Java

You can try using the DesiredCapabilities class, like this:

 
Leave a comment

Posted by on 04/03/2016 in Selenium