Skip to content

Commit

Permalink
Update first-code.md
Browse files Browse the repository at this point in the history
fix title string to work with current Wikipedia version
  • Loading branch information
bolandross authored Feb 13, 2025
1 parent 6c67941 commit 77eca4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/getting-started/first-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {

// Look for header to implicitly wait for the page to load.
driver.query(By::ClassName("firstHeading")).first().await?;
assert_eq!(driver.title().await?, "Selenium - Wikipedia");
assert_eq!(driver.title().await?, "Selenium Wikipedia");

// Always explicitly close the browser.
driver.quit().await?;
Expand Down

0 comments on commit 77eca4f

Please sign in to comment.