Mozilla Iris  1.0
A visual test suite for Firefox
iris.api.helpers.keyboard_shortcuts Namespace Reference

Functions

def navigate_back ()
 
def navigate_forward ()
 
def navigate_home ()
 
def open_file_picker ()
 
def select_location_bar ()
 
def reload_page ()
 
def force_reload_page ()
 
def stop_page_load ()
 
def scroll_down (num=1)
 
def scroll_up (num=1)
 
def page_down ()
 
def page_up ()
 
def page_end ()
 
def page_home ()
 
def focus_next_item ()
 
def focus_previous_item ()
 
def next_frame ()
 
def previous_frame ()
 
def open_print_page ()
 
def open_save_page ()
 
def zoom_in ()
 
def zoom_out ()
 
def restore_zoom ()
 
def edit_copy ()
 
def edit_cut ()
 
def edit_delete ()
 
def delete_selected_file ()
 
def edit_paste ()
 
def edit_paste_plain ()
 
def edit_redo ()
 
def edit_select_all ()
 
def edit_undo ()
 
def open_find ()
 
def find_next ()
 
def find_previous ()
 
def quick_find ()
 
def quick_find_link ()
 
def close_find ()
 
def select_search_bar ()
 
def change_search_next ()
 
def change_search_previous ()
 
def open_search_manager ()
 
def close_tab ()
 
def close_window ()
 
def force_close ()
 
def change_window_view ()
 
def full_screen ()
 
def maximize_window ()
 
def minimize_window ()
 
def new_tab ()
 
def new_window ()
 
def new_private_window ()
 
def next_tab ()
 
def previous_tab ()
 
def quit_firefox ()
 
def select_tab (num)
 
def select_last_tab ()
 
def toggle_audio ()
 
def undo_close_tab ()
 
def undo_close_window ()
 
def history_sidebar ()
 
def clear_recent_history ()
 
def bookmark_all_tabs ()
 
def bookmark_page ()
 
def bookmarks_sidebar (option)
 
def open_library ()
 
def open_addons ()
 
def open_downloads ()
 
def open_page_source ()
 
def open_web_console ()
 
def open_web_developer_menu ()
 
def open_browser_console ()
 
def restart_via_console ()
 

Function Documentation

◆ bookmark_all_tabs()

def iris.api.helpers.keyboard_shortcuts.bookmark_all_tabs ( )
Open the Bookmark All Tabs dialog.

◆ bookmark_page()

def iris.api.helpers.keyboard_shortcuts.bookmark_page ( )
Bookmark the current page.

◆ bookmarks_sidebar()

def iris.api.helpers.keyboard_shortcuts.bookmarks_sidebar (   option)
Toggle open/close the bookmarks sidebar.

◆ change_search_next()

def iris.api.helpers.keyboard_shortcuts.change_search_next ( )
If the search bar has focus, change the search engine to the next in the list.

(side effect: this also opens the search engine manager, if it wasn't already open).

◆ change_search_previous()

def iris.api.helpers.keyboard_shortcuts.change_search_previous ( )
If the search bar has focus, change the search engine to the previous in the list.

(side effect: this also opens the search engine manager, if it wasn't already open).

◆ change_window_view()

def iris.api.helpers.keyboard_shortcuts.change_window_view ( )
Change the focus on another window.

◆ clear_recent_history()

def iris.api.helpers.keyboard_shortcuts.clear_recent_history ( )
Open the Clear Recent History dialog.

◆ close_find()

def iris.api.helpers.keyboard_shortcuts.close_find ( )
Close the regular find toolbar or quick find toolbar, if it has focus.

◆ close_tab()

def iris.api.helpers.keyboard_shortcuts.close_tab ( )
Close the currently focused tab/window (Except for app tabs).

◆ close_window()

def iris.api.helpers.keyboard_shortcuts.close_window ( )
Close the currently focused window.

◆ delete_selected_file()

def iris.api.helpers.keyboard_shortcuts.delete_selected_file ( )
Delete selected file/files inside a folder.

◆ edit_copy()

def iris.api.helpers.keyboard_shortcuts.edit_copy ( )
Copy selection to clipboard.

◆ edit_cut()

def iris.api.helpers.keyboard_shortcuts.edit_cut ( )
Cut selection to clipboard.

◆ edit_delete()

def iris.api.helpers.keyboard_shortcuts.edit_delete ( )
Delete selected text.

If nothing is selected, delete previous character.

◆ edit_paste()

def iris.api.helpers.keyboard_shortcuts.edit_paste ( )
Paste contents of the clipboard to the focused text field.

◆ edit_paste_plain()

def iris.api.helpers.keyboard_shortcuts.edit_paste_plain ( )
Paste contents of the clipboard, as plain text, to the focused text field.

◆ edit_redo()

def iris.api.helpers.keyboard_shortcuts.edit_redo ( )
Redo the last operation of Undo.

◆ edit_select_all()

def iris.api.helpers.keyboard_shortcuts.edit_select_all ( )
Selects the entire contents of focused field or page.

◆ edit_undo()

def iris.api.helpers.keyboard_shortcuts.edit_undo ( )
Undoes the previous operation.

◆ find_next()

def iris.api.helpers.keyboard_shortcuts.find_next ( )
Find next occurrence of term, if find is already active on a search term.

Find next (again) can also find the next occurrence of a term without opening the find toolbar.

◆ find_previous()

def iris.api.helpers.keyboard_shortcuts.find_previous ( )
Find the previous occurrence of term, if find is already active on a search term.

Find previous can also find the previous occurrence of a term without opening the find toolbar.

◆ focus_next_item()

def iris.api.helpers.keyboard_shortcuts.focus_next_item ( )
Focus next actionable item.

◆ focus_previous_item()

def iris.api.helpers.keyboard_shortcuts.focus_previous_item ( )
Focus previous actionable item.

◆ force_close()

def iris.api.helpers.keyboard_shortcuts.force_close ( )
Move to the previous frame (can be in content or in chrome).

◆ force_reload_page()

def iris.api.helpers.keyboard_shortcuts.force_reload_page ( )
Reload the current web page with cache override.

◆ full_screen()

def iris.api.helpers.keyboard_shortcuts.full_screen ( )
Toggle full screen mode.

◆ history_sidebar()

def iris.api.helpers.keyboard_shortcuts.history_sidebar ( )
Toggle open/close the history sidebar.

◆ maximize_window()

def iris.api.helpers.keyboard_shortcuts.maximize_window ( )
Maximize the browser window to fill the screen.

This is NOT Full Screen mode.

◆ minimize_window()

def iris.api.helpers.keyboard_shortcuts.minimize_window ( )
Minimize the browser window to the application launch bar.

◆ navigate_back()

def iris.api.helpers.keyboard_shortcuts.navigate_back ( )
Navigate back in browsing history one page visit.

◆ navigate_forward()

def iris.api.helpers.keyboard_shortcuts.navigate_forward ( )
Navigate forward in browsing history one page visit.

◆ navigate_home()

def iris.api.helpers.keyboard_shortcuts.navigate_home ( )
Navigate the browser to whatever is set as the Home page.

◆ new_private_window()

def iris.api.helpers.keyboard_shortcuts.new_private_window ( )
Open a new private browser window.

◆ new_tab()

def iris.api.helpers.keyboard_shortcuts.new_tab ( )
Open a new browser tab.

◆ new_window()

def iris.api.helpers.keyboard_shortcuts.new_window ( )
Open a new browser window.

◆ next_frame()

def iris.api.helpers.keyboard_shortcuts.next_frame ( )
Move to the next frame (can be in content or in chrome).

◆ next_tab()

def iris.api.helpers.keyboard_shortcuts.next_tab ( )
Focus the next tab (one over to the right).

◆ open_addons()

def iris.api.helpers.keyboard_shortcuts.open_addons ( )
Open the Add-ons Manager page.

◆ open_browser_console()

def iris.api.helpers.keyboard_shortcuts.open_browser_console ( )
Opens the Browser Console.

◆ open_downloads()

def iris.api.helpers.keyboard_shortcuts.open_downloads ( )
Open the Downloads dialog.

◆ open_file_picker()

def iris.api.helpers.keyboard_shortcuts.open_file_picker ( )
Open the system file picker.

◆ open_find()

def iris.api.helpers.keyboard_shortcuts.open_find ( )
Open the find toolbar.

◆ open_library()

def iris.api.helpers.keyboard_shortcuts.open_library ( )
Open the Library window.

◆ open_page_source()

def iris.api.helpers.keyboard_shortcuts.open_page_source ( )
Open the current page's page source.

◆ open_print_page()

def iris.api.helpers.keyboard_shortcuts.open_print_page ( )
Open the Print dialog.

◆ open_save_page()

def iris.api.helpers.keyboard_shortcuts.open_save_page ( )
Open the Save dialog.

◆ open_search_manager()

def iris.api.helpers.keyboard_shortcuts.open_search_manager ( )
If the search bar has focus, open the search engine manager.

◆ open_web_console()

def iris.api.helpers.keyboard_shortcuts.open_web_console ( )
Opens the Web Console.

◆ open_web_developer_menu()

def iris.api.helpers.keyboard_shortcuts.open_web_developer_menu ( )
Open the Web_developer tool.

◆ page_down()

def iris.api.helpers.keyboard_shortcuts.page_down ( )
Jump down one screen.

◆ page_end()

def iris.api.helpers.keyboard_shortcuts.page_end ( )
Jump to the bottom of the page.

◆ page_home()

def iris.api.helpers.keyboard_shortcuts.page_home ( )
Jump to the top of the page.

◆ page_up()

def iris.api.helpers.keyboard_shortcuts.page_up ( )
Jump up one screen.

◆ previous_frame()

def iris.api.helpers.keyboard_shortcuts.previous_frame ( )
Move to the previous frame (can be in content or in chrome).

◆ previous_tab()

def iris.api.helpers.keyboard_shortcuts.previous_tab ( )
Focus the previous tab (one over to the left).

◆ quick_find()

def iris.api.helpers.keyboard_shortcuts.quick_find ( )
Quick find opens simple find toolbar that remains active for only six seconds.

◆ quick_find_link()

def iris.api.helpers.keyboard_shortcuts.quick_find_link ( )
Quick find opens simple find link toolbar that remains active for only six seconds.

◆ quit_firefox()

def iris.api.helpers.keyboard_shortcuts.quit_firefox ( )
Quit the browser.

◆ reload_page()

def iris.api.helpers.keyboard_shortcuts.reload_page ( )
Reload the current web page.

◆ restart_via_console()

def iris.api.helpers.keyboard_shortcuts.restart_via_console ( )
 restarts Firefox if web console is opened

◆ restore_zoom()

def iris.api.helpers.keyboard_shortcuts.restore_zoom ( )
Restores zoom level to page default.

◆ scroll_down()

def iris.api.helpers.keyboard_shortcuts.scroll_down (   num = 1)
Scroll down one increment (equivalent to 3 mousewheel steps).

:param num: The Number of times to scroll down.
:return: None.

◆ scroll_up()

def iris.api.helpers.keyboard_shortcuts.scroll_up (   num = 1)
Scroll up one increment (equivalent to 3 mousewheel steps).

:param num: The number of times to scroll up.
:return: None.

◆ select_last_tab()

def iris.api.helpers.keyboard_shortcuts.select_last_tab ( )
Select the last tab.

◆ select_location_bar()

def iris.api.helpers.keyboard_shortcuts.select_location_bar ( )
Set focus to the location bar.

◆ select_search_bar()

def iris.api.helpers.keyboard_shortcuts.select_search_bar ( )
If the search bar is present, select the search bar, otherwise this selects the location bar.

◆ select_tab()

def iris.api.helpers.keyboard_shortcuts.select_tab (   num)
Select a given tab (only 1-8).

param:  num  is a string 1-8. example: '4'.

◆ stop_page_load()

def iris.api.helpers.keyboard_shortcuts.stop_page_load ( )
Stop the current in progress web page from loading.

◆ toggle_audio()

def iris.api.helpers.keyboard_shortcuts.toggle_audio ( )
Mute/Unmute audio.

◆ undo_close_tab()

def iris.api.helpers.keyboard_shortcuts.undo_close_tab ( )
Re-opens the previously closed tab.

◆ undo_close_window()

def iris.api.helpers.keyboard_shortcuts.undo_close_window ( )
Re-opens the previously closed browser window.

◆ zoom_in()

def iris.api.helpers.keyboard_shortcuts.zoom_in ( )
Zoom in one increment.

◆ zoom_out()

def iris.api.helpers.keyboard_shortcuts.zoom_out ( )
Zoom out one increment.