Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Quality Assurance Introduction to Selenium Automation Nation A Fork in the XPath

is selenium safe

i tried to keylogger the selenium webdriver sendkeys method and i got the keys but i found a way to avoid this hack (cauz i wont any one see the password that i put using selenium) , selenium send http requests and receive http requests so is it trus that any one can snnif the keys that i sent ?

1 Answer

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 90,845 Points

Anything you do on Selenium won't affect the actual website. What Selenium does is, it opens an instance of the Web Browser you target (we use Chrome in this course) in a QA Tab. It's like when you make changes to the DOM via DevTools. The changes revert back, the moment you refresh the browser or close the browser instance. :-)

And it using my wifi to reach and send keys to the websites so if i snnif on the wifi and find the keys that selenium send from the instance created by selenium ?!

Jonathan Grieve
Jonathan Grieve
Treehouse Moderator 90,845 Points

Yes, it needs an internet connection to automate tasks. I don't understand how the drivers work, but without a connection you can't run node to start the tests. :-)