-
Notifications
You must be signed in to change notification settings - Fork 0
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
add wdio support for ts #202
Conversation
percy/driver/driverWrapper.js
Outdated
this.type = 'wdio'; | ||
} else if ((driver.constructor.name === '' || | ||
driver.constructor.name === 'Object') && // Object check is only added for tests | ||
driver.constructor.name.includes('Object')) && // Object check is only added for tests |
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.
Why this?
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.
Something looks incorrect here.
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.
@Amit3200 a similar fix for the issue can be seen in: percy/percy-selenium-js#406
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.
@chinmay-browserstack resolved
Update description as well. |
d3b99da
Fixing SDK is not working on windows with ts the reason for same class name of wdio driver is
BoundBrowser
instead ofBrowser
which we check.