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 @@ -170,11 +170,11 @@ public void TriggerExport(List<string> workspaceSlug)
170
170
171
171
Thread . Sleep ( 5000 ) ;
172
172
Console . WriteLine ( "Navigating to Export button..." ) ;
173
- IWebElement nextBtn = _driver . FindElement ( By . XPath ( "//nav //div[contains(text(), 'Settings')]" ) ) ;
173
+ IWebElement nextBtn = _driver . FindElement ( By . XPath ( "//div[@class='notion-sidebar'] //div[contains(text(), 'Settings')]" ) ) ;
174
174
nextBtn . Click ( ) ;
175
175
176
176
Thread . Sleep ( 3000 ) ;
177
- _driver . FindElement ( By . XPath ( "//div[@class='notion-space-settings']//div[text() = 'Settings ']" ) ) . Click ( ) ;
177
+ _driver . FindElement ( By . XPath ( "//div[@class='notion-space-settings']//div[text() = 'General ']" ) ) . Click ( ) ;
178
178
179
179
Thread . Sleep ( 3000 ) ;
180
180
_driver . FindElement ( By . XPath ( "//div[@class='notion-space-settings']//div[text() = 'Export all workspace content']" ) ) . Click ( ) ;
You can’t perform that action at this time.
0 commit comments