Jump to content



Photo

Another Exbrowser Xpath Expression Needed !


  • Please log in to reply
5 replies to this topic

#1 kill3rbko

kill3rbko

    Advanced Member

  • Members
  • PipPipPip
  • 99 posts
  • OS:Windows 8
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 14 September 2018 - 10:45 AM

Hello

 

Im sorry to disturb again with EB :(

 

I m trying to click in the "Next" button in exbrowser to login in my gmail account without succes.

 

The isnpect element gave me :

<span class="RveJvd snByac">Suivant</span>

I ve tried this syntax with exbrowser click but it move to the page asking me again the email : //span[contains(@class,"RveJvd snByac")]

PnljD0E.png

 

Any help will be appreciated!

 



#2 Code Docta (Nick C.)

Code Docta (Nick C.)

    Member for Hire

  • Fellow UBotter
  • PipPipPip
  • 1429 posts
  • LocationIn a Python or UBot IDE or ubotdocta.com
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 14 September 2018 - 01:10 PM

Close!!

should be like

 

//span[@class="RveJvd snByac"]

 

try that


UBot Expert Tutorials

 

ubot-docta-header-ubot-expert-store.png

 

UBot expert tutorials and documentation at ubotdocta.com


#3 kill3rbko

kill3rbko

    Advanced Member

  • Members
  • PipPipPip
  • 99 posts
  • OS:Windows 8
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 15 September 2018 - 03:34 AM

Close!!

should be like

 

//span[@class="RveJvd snByac"]

 

try that

 

Thank you for the help Docta but it is not working, already tried it.

 

When i use //span[@class="RveJvd snByac"]

it brings me to this page

 

L9Nf1ad.png

 

instead of this one

 

9MwbMED.png


Edited by Kill3rbko, 15 September 2018 - 03:35 AM.


#4 Sanjeev

Sanjeev

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 357 posts
  • LocationIndia, Mumbai
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 15 September 2018 - 04:07 AM

this worked for me - 

 

plugin command("ExBrowser.dll", "ExBrowser Click", "//span[text()=\"Next\"]")
 
 
Image%202018-09-15%20at%204.39.56%20PM.p
 
 

upad%20ninja%20banner2.png


#5 kill3rbko

kill3rbko

    Advanced Member

  • Members
  • PipPipPip
  • 99 posts
  • OS:Windows 8
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 15 September 2018 - 06:03 AM

Thanks a lot.

I have solved with this syntax :

//descendant::span[@class="RveJvd snByac"][2]

you rock sanjeev :)

 

you show me something which helped me a lot today with //span[text()="Next"]

 

Thanks to all



#6 Sanjeev

Sanjeev

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 357 posts
  • LocationIndia, Mumbai
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 15 September 2018 - 07:54 AM

Glad to be of help! :)


upad%20ninja%20banner2.png





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users