Search code examples
seleniumbase

How to open an html file with Seleniumbase?


I am trying to do the following code but it retrieves me an error:

with SB() as sb: sb.open(/path/file.html)

What is the proper way?

Thank you


Solution

  • Solution:

    sb.load_html_file(html_file)