Interacting with Javascript Popup

Posted about 7 years ago by alexabraham

Post a topic
Un Answered
a
alexabraham

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 Votes


0 Comments

Login to post a comment