Start a new topic

Interacting with Javascript Popup

Hi!


Does anyone have experience making lua scripts interact with javascript popups? I am trying to scrape a webpage which has a link "javascript:void(0)". When the link is clicked a popup window is generated. There are multiple links on the page and I want to scrape the data in each popup based on which link I click. I can click the link without a problem using the element:mouse_click() method but it doesn't seem to change the source. Should I be using window.location.replace() somehow?


Thanks!


Alex


1 person has this question
Login to post a comment