File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ <h1 class="title">Module <code>playwright.video</code></h1>
59
59
def _set_relative_path(self, relative_path: str) -> None:
60
60
self._path_future.set_result(
61
61
os.path.join(
62
- cast(str, self._page._browser_context._options.get( "videosPath ") ),
62
+ cast(str, self._page._browser_context._options[ "recordVideo "]["dir"] ),
63
63
relative_path,
64
64
)
65
65
)</ code > </ pre >
@@ -96,7 +96,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
96
96
def _set_relative_path(self, relative_path: str) -> None:
97
97
self._path_future.set_result(
98
98
os.path.join(
99
- cast(str, self._page._browser_context._options.get( "videosPath ") ),
99
+ cast(str, self._page._browser_context._options[ "recordVideo "]["dir"] ),
100
100
relative_path,
101
101
)
102
102
)</ code > </ pre >
You can’t perform that action at this time.
0 commit comments