Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

TypeError: 'undefined' is not a function. It occures when I try to click a tag "a". #14574

Closed
lcalca1 opened this issue Sep 30, 2016 · 1 comment
Labels

Comments

@lcalca1
Copy link

lcalca1 commented Sep 30, 2016

  1. Which version of PhantomJS are you using? Tip: run phantomjs --version.

    1. phantomjs-2.1.1-windows
    2. phantomjs-1.9.0-linux
  2. What steps will reproduce the problem?

    document.querySelectorAll("#tvsite>table td[style='white-space:nowrap;'] a")[1].trigger("click");//with jquery

    or

    document.querySelectorAll("#tvsite>table td[style='white-space:nowrap;'] a")[1].click();

  3. Which operating system are you using?

    1. Windows 10
    2. Ubuntu 14.04.4 LTS (GNU/Linux 3.16.0-77-generic x86_64)
  4. Did you use binary PhantomJS or did you compile it from source?
    binary

  5. Please provide any additional information below.
    I find the reason in a web page which url is TypeError: 'undefined' is not a function teampoltergeist/poltergeist#292
    jonleighton said:
    PhantomJS currently uses an older version of WebKit which does not support Function.prototype.bind. That's your problem. (There are efforts to get a new WebKit version in PhantomJS but it's not done yet.)

@lcalca1 lcalca1 changed the title TypeError: 'undefined' is not a function. It occures when I try to click a tag "a" TypeError: 'undefined' is not a function. It occures when I try to click a tag "a". Sep 30, 2016
@stale stale bot added the stale label Dec 26, 2019
@stale
Copy link

stale bot commented Dec 29, 2019

Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

@stale stale bot closed this as completed Dec 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant