MarketSquare / MarketSquare/robotframework-seleniumscreenshots

JavascriptException: Message: javascript error: jQuery.expr.createPseudo is not a function

Open
#4 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nix
Stars
11
Forks
3
PR merge metrics
No merged PRs in 30d

Description

python 2 with latest robotframework-seleniumscreenshots-0.9.5
using keyword, Capture and crop page screenshot [path] [css:selector]
get the following error

```
JavascriptException: Message: javascript error: jQuery.expr.createPseudo is not a function
JavaScript stack:
TypeError: jQuery.expr.createPseudo is not a function
at wait_for_bootstrapped_jquery (eval at executeAsyncScript (:457:5), :16:54)
at eval (eval at executeAsyncScript (:457:5), :25:5)
at eval (eval at executeAsyncScript (:457:5), :26:3)
at eval (eval at executeAsyncScript (:457:5), :28:6)
at executeAsyncScript (:457:26)
at :473:29
at callFunction (:361:33)
at :371:23
at :372:3
(Session info: chrome=71.0.3578.98)
(Driver info: chromedriver=71.0.3578.98,platform=Linux 4.8.11-1-ARCH x86_64)
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the “Capture and crop page screenshot” keyword and the wait_for_bootstrapped_jquery entry point shown in the JavaScript stack trace. Reproduce the failure with Python 2, robotframework-seleniumscreenshots 0.9.5, Chrome 71, and the supplied CSS selector; done means the keyword completes without the jQuery exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.