A new method (and property) for clicking on the element via JavaScript #174

Merged
merged 1 commit into from Apr 8, 2015

Projects

None yet

2 participants

@dimand58
Contributor
dimand58 commented Apr 7, 2015

In some case clicking on the element in IE may be unstable. I found a lot of discussions about this situation with testing in IE in global network.

  1. This new feature provide new method of clicking on the element - via JavaScript. At now we can use standart .click() or .clickViaJs() (for our purposes).
  2. If we want to migrate all .click() in our code - we can just use "selenide.click-via-js=true" property (default is false) for some projects with testing in IE.
unknown A new method (and property) for clicking on the element via JavaScrip…
…t. Helpful for instable web applications and testing in IE
65a25b1
@asolntsev asolntsev merged commit df3e06c into codeborne:master Apr 8, 2015

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
@asolntsev asolntsev added a commit that referenced this pull request Apr 8, 2015
@asolntsev asolntsev Closes #174 user can click using JavaScript 69c0cc7
@asolntsev
Member

@dimand58 Thank you!
I guess old method $.followLink() was created a long time ago for the same reason...
I have merged your pull request. You can now manage $.click() implementation using selenide.click-via-js=true property.

@dimand58
Contributor
dimand58 commented Apr 9, 2015

Glad to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment