Kobi Leibovitz
Kobi Leibovitz

Reputation: 1

Jmeter chrome webdriver - set pageloadstrategy to none

in Jmeter jp@gc - Chrome Driver Config default configuration for pageloadstrategy is normal How i can change it to none? i don't see an option in the Chrome driver config? it can be set in the jp@gc - WebDriver Sampler? I'm using javascript language.

Thanks,

Upvotes: -1

Views: 302

Answers (1)

Dmitri T
Dmitri T

Reputation: 168157

I don't think it's possible to set it once Chrome has started, and Chrome is started by the Chrome Driver Config and being Configuration Element it's executed before the WebDriver Sampler so the options are in:

  1. Patch ChromeDriverConfig and add the relevant capability via ChromeOptions
  2. Switch to JSR223 Sampler and Groovy language where you will have full control over your ChromeDriver instance (you will have to start your own ChromeDriver instances and make sure they don't clash)

Upvotes: 0

Related Questions