Skip to content

Conversation

@Nyholm
Copy link
Contributor

@Nyholm Nyholm commented Oct 2, 2021

I want to be able to click on anything. We have some weird javascript that hide away a checkbox...

This only support selecting an element by ID. I am not sure how to implement it better.

@Nyholm
Copy link
Contributor Author

Nyholm commented Oct 2, 2021

Woho! I found out how to use CSS selectors =)

@kbond
Copy link
Member

kbond commented Oct 2, 2021

I think I'd prefer to merge into the click method if you don't mind.

@Nyholm
Copy link
Contributor Author

Nyholm commented Oct 2, 2021

Sure!

@kbond kbond changed the title Add Browser::clockOnElement() Allow Browser::click() to work with css selector Oct 2, 2021
@kbond kbond merged commit d555ce8 into zenstruck:1.x Oct 2, 2021
@kbond
Copy link
Member

kbond commented Oct 2, 2021

Thanks @Nyholm! Released in v0.8.0.

@Nyholm
Copy link
Contributor Author

Nyholm commented Oct 2, 2021

Awesome. Thank you for the quick response!

@Nyholm Nyholm deleted the click-on-element branch October 2, 2021 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants