We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c70a596 + 1810413 commit 541cdb1Copy full SHA for 541cdb1
api/feature/index.js
@@ -7,5 +7,10 @@ export default function (data) {
7
feature.self = self(data.id);
8
feature.traps = traps()
9
feature.auth = auth()
10
+ feature.page = {
11
+ appendToSharedSpace: ScratchTools.appendToSharedSpace,
12
+ waitForElement: ScratchTools.waitForElement,
13
+ waitForElements: ScratchTools.waitForElements,
14
+ }
15
return feature;
16
}
features/profile-flag/script.js
@@ -1,4 +1,5 @@
1
export default async function ({ feature, console }) {
2
+ window.feature = feature
3
const locationElement = await ScratchTools.waitForElement(
4
"p.profile-details > span.location"
5
);
0 commit comments