Browse Source

documentation for screen.open

Rodja Trappe 2 years ago
parent
commit
9abd1c76a7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/screen.py

+ 4 - 0
tests/screen.py

@@ -48,6 +48,10 @@ class Screen:
         self.server_thread.join()
 
     def open(self, path: str) -> None:
+        '''Try to open the page until the server is ready or we time out.
+
+        If the server is not jet running, start it.
+        '''
         if self.server_thread is None:
             self.start_server()
         start = time.time()