From 0b6bc6ad2232ed8d524b4d2b7ae58d97ea428eb3 Mon Sep 17 00:00:00 2001 From: YusukeIwaki Date: Mon, 19 Feb 2024 10:47:42 +0900 Subject: [PATCH] Update spec for scraping GitHub --- spec/feature/example_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/feature/example_spec.rb b/spec/feature/example_spec.rb index 21c1557..32ce4fe 100644 --- a/spec/feature/example_spec.rb +++ b/spec/feature/example_spec.rb @@ -49,7 +49,7 @@ visit '/YusukeIwaki/capybara-playwright-driver' page.driver.with_playwright_page do |page| - page.query_selector('get-repo').click + page.locator('button', hasText: 'Code').click download = page.expect_download do page.click('text=Download ZIP') end