0

While working on Jmeter with selenium webdriver, I have noticed unhandled error "016/02/17 16:51:47 ERROR - com.googlecode.jmeter.plugins.webdriver.sampler.WebDriverSampler: :14:94 Expected , but found ; WDS.browser.findElement(pkg.By.cssSelector('.tile.default.sidebar-tile-buynow.active').click();
^ in at line number 14 at column number 94 2016/02/17 16:51:49 ERROR - com.googlecode.jmeter.plugins.webdriver.sampler.WebDriverSampler: :4:69 Expected , but found ; WDS.browser.findElement(pkg.By.cssSelector('.menu-ico.admin').click(); ^ in at line number 4 at column number 69"

1 Answer 1

1

There is something wrong with your JavaScript code, I expect something like unbalanced quotes or braces, not closed parenthesis, etc.

Double check your code using JavaScript IDE with syntax highlighting - it should help. Or update your question with full code so community could take a look and help to figure out the problem.

Just in case check out The WebDriver Sampler: Your Top 10 Questions Answered article.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.