-
Notifications
You must be signed in to change notification settings - Fork 30
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
fix: Prevent "TypeError: object is not iterable" #102
fix: Prevent "TypeError: object is not iterable" #102
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for raising the PR.
Mind investigate what console.log(await this.tab$$)
returns? It should be an empty array with some extra methods attached to it.
Will do. |
Let me know how I can help with the latest stable CI breaking too. Want me to try to review the PR Sunday night? |
Which PR are you referring to? |
Ah, sorry Christian. I didn't get ChromeDriver set up on Ubuntu on ARM to test it locally. My command to close all the open editor tabs didn't work. The After actually closing the tabs, we do get an empty array. I don't see where the length is so I confirmed it logging the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
To save you from looking, it fails trying to download ChromeDriver 118 from the legacy URL. Could you try rerunning just one of the 1.83 jobs? |
That pipeline seems to fail due to:
|
1fa0c1c
to
87a94be
Compare
Oof. Sorry for the back and forth. I should have caught that much much earlier. 🤦 That's fixed and rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
5fd38b8
into
webdriverio-community:main
Congrats on your first contribution to this plugin. Really appreciated your work! |
Hey seanpoulter 👋 Thank you for your contribution to WebdriverIO! Your pull request has been marked as an "Expensable" contribution. We've sent you an email with further instructions on how to claim your expenses from our development fund. Please make sure to check your spam folder as well. If you have any questions, feel free to reach out to us at [email protected] or in the contributing channel on Discord. We are looking forward to more contributions from you in the future 🙌 Have a nice day, |
Context
This PR is a workaround for the bug described in #100 but doesn't address the root cause. Sorry.
Proposed Changes
this.tabs$$.map
works but(await this.tabs$$).map
doesn't. 🤷Notes
To set expectations, I'm offline until Sunday night. Feel free to change anything you'd like Christian.