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

2016-03-09 Thread Tim Roberts
laurent solano wrote: > > I had already identified and look at the documentation about splinter. > Sound great, but there is one missing feature : i need to automate an > already open browser, where i'm already log in. > > With win32com, i can do it. below my code: You're doing this is in a somew

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

2016-03-09 Thread laurent solano
Thanks for your proposal. I had already identified and look at the documentation about splinter. Sound great, but there is one missing feature : i need to automate an already open browser, where i'm already log in. With win32com, i can do it. below my code: class WindowMgr: """ Source : h

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] 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

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

2016-02-22 Thread Tim Roberts
laurent solano wrote: > > I'm automating ie webbrowser with win32com module. > > I need to locate some xpath elements to manipulate them. Is there a > way to do it ? > More or less, i need the same feature than findElement(By.xpath ...) > from selenium. Why don't you show us the code you have? T