You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| alias | string | element that invokes downloading |
746
+
747
+
```gherkin
748
+
When I save file to '/folder/file.txt' by clicking 'Download Button'
749
+
```
750
+
694
751
---
695
752
### I force click \{string}
696
753
@@ -705,6 +762,44 @@ When I force click 'Google Button'
705
762
```
706
763
---
707
764
765
+
---
766
+
### I grant \{string} permission
767
+
768
+
Provides permission for the browser context.
769
+
Full list of permissions can be found in [Playwright documentation](https://playwright.dev/docs/api/class-browsercontext#browser-context-grant-permissions).
770
+
771
+
| param | type | description |
772
+
|:-----:|:------:|:------------------------:|
773
+
| alias | string | permission name or alias |
774
+
775
+
```gherkin
776
+
When I grant 'geolocation' permission
777
+
```
778
+
779
+
---
780
+
### I revoke browser permissions
781
+
782
+
Clears all permission overrides for the browser context.
783
+
784
+
```gherkin
785
+
When I revoke browser permissions
786
+
```
787
+
788
+
---
789
+
### I set \{string} geolocation
790
+
791
+
Sets a geolocation for a current context.
792
+
Geolocation param should conform to a JavaScript object \{ latitude: number, longitude: number}
0 commit comments