Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: clarify setContent semantics (#24553)
Yury Semikhatskyce341ae5b5ba
diff --git a/docs/src/api/class-frame.md b/docs/src/api/class-frame.mdindex c05e9e3fa9..6cd0c5132b 100644--- a/docs/src/api/class-frame.md+++ b/docs/src/api/class-frame.md@@ -1610,6 +1610,8 @@ When all steps combined have not finished during the specified [`option: timeout## async method: Frame.setContent* since: v1.8+This method internally calls [document.write()](https://developer.mozilla.org/en-US/docs/Web/API/Document/write), inheriting all its specific characteristics and behaviors.+### param: Frame.setContent.html* since: v1.8- `html` <[string]>diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.mdindex bbf3446417..afac224905 100644--- a/docs/src/api/class-page.md+++ b/docs/src/api/class-page.md@@ -3531,6 +3531,8 @@ When all steps combined have not finished during the specified [`option: timeout## async method: Page.setContent* since: v1.8+This method internally calls [document.write()](https://developer.mozilla.org/en-US/docs/Web/API/Document/write), inheriting all its specific characteristics and behaviors.+### param: Page.setContent.html* since: v1.8- `html` <[string]>diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.tsindex aeca2bae95..6631353f8f 100644--- a/packages/playwright-core/types/types.d.ts+++ b/packages/playwright-core/types/types.d.ts@@ -3815,6 +3815,8 @@ export interface Page {}): Promise<void>;/**+ * This method internally calls [document.write()](https://developer.mozilla.org/en-US/docs/Web/API/Document/write),+ * inheriting all its specific characteristics and behaviors.* @param html HTML markup to assign to the page.* @param options*/@@ -6900,6 +6902,8 @@ export interface Frame {}): Promise<void>;/**+ * This method internally calls [document.write()](https://developer.mozilla.org/en-US/docs/Web/API/Document/write),+ * inheriting all its specific characteristics and behaviors.* @param html HTML markup to assign to the page.* @param options*/