Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialcharif dadouune
43 Pointsis 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
Treehouse Moderator 91,253 PointsAnything 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. :-)
charif dadouune
43 Pointscharif dadouune
43 PointsAnd 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
Treehouse Moderator 91,253 PointsJonathan Grieve
Treehouse Moderator 91,253 PointsYes, 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. :-)