click on back button of browser using selenium python code example Example: python selenium go back driver.execute_script("window.history.go(-1)")