(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
from io import BytesIO | |
from selenium import webdriver | |
from PIL import Image | |
driver = webdriver.PhantomJS() | |
driver.set_window_size(1366, 728) # optional | |
driver.get('http://google.com') | |
driver.save_screenshot('screen_hires.png') |
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |