Jump to content
UBot Underground

Ubot Can Not Code The New Window ! Is There A Way See Example


Recommended Posts

Hello ,

 

I'm stuck in this step , i bypass the 1st page and tried to do the same but could not i get an error 

 

Sorry, this Offer/Product/Company is not valid. Please try another one.

 

I think it only work in the same window you open it ! 

 

in this page 

 

https://www.alibaba.com/catalogs/corporations/CID10109------------------GGS--20

 

 

I click on Compare ... then in the new window instead of a popup i scrape the url ...then navigate to it so i can select all ... then in the contact page i could not do the same the URL i scrape when i tried to navigate it give me an ERROR :(

ui block text("URL", #URL)
clear cookies
allow popups("In New Window")
navigate(#URL, "Wait")
wait for browser event("DOM Ready", "")
wait(3)
click(<innertext="Compare">, "Left Click", "No")
wait(3)
click(<data-role="compareBtn">, "Left Click", "No")
wait for browser event("DOM Ready", "")
wait(3)
in popup {
    wait(5)
    add item to list(%Url, $url, "Delete", "Global")
    close page
}
navigate(%Url, "Wait")
wait(2)
change checkbox(<id="selectall">, "Checked")
wait(2)
click($element offset(<class="contact-img">, 4), "Left Click", "No")
close page

Any help ! 

 

Thanks

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...