Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script fixes for IE #5279

Merged
merged 2 commits into from
Apr 20, 2020
Merged

Script fixes for IE #5279

merged 2 commits into from
Apr 20, 2020

Conversation

christian-bromann
Copy link
Member

Proposed changes

closes #5043

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • I have added proper type definitions for new commands (if appropriate)

Further comments

n/a

Reviewers: @webdriverio/project-committers

@christian-bromann christian-bromann added the PR: Bug Fix 🐛 PRs that contain bug fixes label Apr 17, 2020
@christian-bromann christian-bromann requested a review from a team April 17, 2020 12:17
Copy link
Member

@erwinheitzman erwinheitzman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let and const cannot be used?

for (let shadowElement of elemsWithShadowRoot) {
shadowElementsFromPoint.push(...getOverlappingElements(elem, shadowElement.shadowRoot))
for (let i = 0; i < elemsWithShadowRoot.length; ++i) {
let shadowElement = elemsWithShadowRoot[i]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the idea is to make it all ES5 and thus IE11 compatible then the keywords let and const cannot be used either.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@christian-bromann christian-bromann added needs-review These Pull Requests require review from project members backport-requested PRs with this label are considered to be applied to the last maintained version labels Apr 17, 2020
@christian-bromann christian-bromann merged commit 03f968a into master Apr 20, 2020
@christian-bromann christian-bromann deleted the cb-ie-error-handling branch April 20, 2020 07:26
@j320
Copy link

j320 commented Apr 21, 2020

Great news! Is there a release date for this fix?

@christian-bromann
Copy link
Member Author

@j320 this was already released. Please see changelog.

@christian-bromann christian-bromann added backported PRs with this label got backported to the last maintained version and removed backport-requested PRs with this label are considered to be applied to the last maintained version labels May 25, 2020
christian-bromann added a commit that referenced this pull request May 25, 2020
* fix scripts for IE - closes #5043

* fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported PRs with this label got backported to the last maintained version needs-review These Pull Requests require review from project members PR: Bug Fix 🐛 PRs that contain bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JavaScript error on element.isClickable() and element.waitForClickable() in IE11
3 participants