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