<s> from selenium import webdriver <EOL> driver = webdriver . PhantomJS ( ) <EOL> driver . set_window_size ( <NUM_LIT> , <NUM_LIT> ) <EOL> driver . get ( "<STR_LIT>" ) <EOL> driver . find_element_by_id ( '<STR_LIT>' ) . send_keys ( "<STR_LIT>" ) <EOL> driver . find_element_by_id ( "<STR_LIT>" ) . click ( ) <EOL> print driver . current_url <EOL> driver . quit ( ) </s>
