f = open("filename.html","r")
bsobj = BeautifulSoup(f, 'lxml')
bsobj.find("br").text#как и find_all
driver = webdriver.Firefox()
f = open("file_name.html","r")
driver.get(f)
driver.get("C:\Users\mykyt\PycharmProjects\Selenium\seleniumwd2\file_name.html")
driver.get(C:\Users\mykyt\PycharmProjects\Selenium\seleniumwd2\file_name.html)
driver.get("file:\\C:\Users\mykyt\PycharmProjects\Selenium\seleniumwd2\file_name.html")
driver.get(file://C:\Users\mykyt\PycharmProjects\Selenium\seleniumwd2\file_name.html)
driver.get("file_name.html")