-
Notifications
You must be signed in to change notification settings - Fork 343
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
LiveHTML $click() like js functionality #431
Comments
Can you provide more details? |
I will try my best but I'm not an expert on this matter. For this I have created an example app that can be found here. This app has two button one visible and other hidden, while scrapping with
When using js in browser console I am able to interact with both buttons. For what i have understood this is due to how js methods interacts with DOM, which allows to simualte actions directly in elements. This could also be helpful when trying to simulate events in elements that overlap eachother, which can be troublesome by the current approach implented in |
Oh gotcha. I avoided just calling |
Hello for what I have understood
$click
searchs for the element in the page and then simulate a mouse click. This work nice in some scenarios, but not in all. For example I am trying to scrap a map where clicking in markers display it's corresponding information, but when trying to click in no visible markers nothing happens while when I use js in browser console to simulate the click it does work. So I think it would be nice to have$clik
to work as jsclick
function.The text was updated successfully, but these errors were encountered: