Is login_script can be done from Selenium IDE plugin ?
Hi,
I am trying to create a login_script based on Selenium IDE plugin in Firefox but I could not get arachni to find the elements to full up the username/password. Is it feasible and in which format should I saved the action in order for arachni to use it ?
Attached a screenshot of the form
Regards
Thierry
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tasos Laskos on 28 Mar, 2017 08:14 AM
I'm not sure what you mean, can you please show me the login script you've used and the error your getting?
2 Posted by Thierry Beauqui... on 28 Mar, 2017 01:22 PM
I used the FF plugin to get the following piece of login_script code to log in on the target node.
browser.goto "https://10.120.87.250/ng/login"
browser.findElement(By.name("username")).sendKeys("user");
browser.findElement(By.name("password")).sendKeys("passwd");
browser.findElement(By.xpath("//button[@type='submit']")).click();
Attached the arachni errors
Support Staff 3 Posted by Tasos Laskos on 29 Mar, 2017 09:38 AM
You need to use the Watir API, what you are currently doing isn't supported.
Tasos Laskos closed this discussion on 12 May, 2017 12:41 PM.