How to disable password display in Selenium RC window

I am writing some Selena RC tests using the perl library of WWW :: Selenium. At the beginning of the test, I need to enter the web form using my username and password.

I noticed that my password is displayed in the Selenium Remote Control Command History window as type(password, secret).

Is there any way to suppress the password display? Maybe there is a command other than typethat I can use?

+3
source share
2 answers

Unfortunately no. You can enter the Selenium kernel and modify it to show *******when it finds a field called password.

Beware though this can complicate life when debugging

0

, , .

, . , - , :

Client Program ----> Selenium RC server ----> to the operating system (in Java this is done using Robot Class)

- :

Client Program ----> Selenium RC server ----> to the Browser

, " " , .

:

selenium.focus("locator");
selenium.keyPressNative("key code"); // this will not be shown in command history

key code , ( ), .

. , , , .

0

All Articles