diff --git a/docs/advanced-client/frame-environment.md b/docs/advanced-client/frame-environment.md
index b433c8124..259539c45 100644
--- a/docs/advanced-client/frame-environment.md
+++ b/docs/advanced-client/frame-environment.md
@@ -113,7 +113,7 @@ const response = await fetch(request.md);
## Methods
-### frameEnvironment.fetch *(requestInput, requestInit.md)*
W3C
{#fetch}
+### frameEnvironment.fetch *(requestInput, requestInit)* W3C
{#fetch}
Perform a native "fetch" request in the current frame environment.
@@ -154,7 +154,7 @@ const response = await mainFrame.fetch(postUrl, {
});
```
-### frameEnvironment.getFrameEnvironment *(frameElement.md)* {#get-frame-environment}
+### frameEnvironment.getFrameEnvironment *(frameElement)* {#get-frame-environment}
Get the [FrameEnvironment](../advanced-client/frame-environment.md) object corresponding to the provided HTMLFrameElement or HTMLIFrameElement. Use this function to attach to the full environment of the given DOM element.
@@ -169,12 +169,12 @@ await hero.goto('https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ifram
const { document } = hero.activeTab;
const iframeElement = document.querySelector('iframe.interactive');
-const iframe = await hero.getFrameEnvironment(iframeElement.md);
+const iframe = await hero.getFrameEnvironment(iframeElement);
const h4 = await iframe.document.querySelector('h4').textContent; // should be something like HTML demo: