Re: [python-win32] equivalent selenium findElement(By.xpath...) with win32com

2016-03-07 Thread Christopher Nilsson
Not really via the win32 api, but if you're looking for the python equivalent of this selenium use-case, you should check out Splinter ( http://splinter.readthedocs.org/en/latest/). You'll need phantomjs, or any other compatible web "driver" installed as well though for this to work. I imagine ac

Re: [python-win32] questions

2016-03-07 Thread Tim Roberts
Jon Joseph wrote: > > To Whom It May Concern: Is there any semi-comprehensive resource on > how to use win32gui or any of the other win32* modules? As a > beginning example I’m just trying to: > > 1) Open notepad (done) > > 2) Automatically File->Exit > > > > A simple demo would be helpf

Re: [python-win32] equivalent selenium findElement(By.xpath...) with win32com

2016-03-07 Thread Tim Roberts
laurent solano wrote: > For now, i make automation by simulating the keyboard. It's working, > but not satisfying. > What I want to do is the equivalent in Python win32 of this line of code > (from java selenium) : > - webDriver.findElement(By.name("valider")).click(); > - confirmation = > webDri

Re: [python-win32] equivalent selenium findElement(By.xpath...) with win32com

2016-03-07 Thread laurent solano
Hi, For now, i make automation by simulating the keyboard. It's working, but not satisfying. What I want to do is the equivalent in Python win32 of this line of code (from java selenium) : - webDriver.findElement(By.name("valider")).click(); - confirmation = webDriver.findElement(By.xpath("//ta