Skip to content

Commit c519a5c

Browse files
authored
fix: correct typo in README installation instructions (#281)
Fixed a minor typo in the installation section of the README file to improve clarity and accuracy for users following setup steps.
1 parent c671c3b commit c519a5c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
3232
// create a new browser page and navigate to the url
3333
let page = browser.new_page("https://en.wikipedia.org").await?;
3434

35+
// find and click the search toggle button to reveal the search bar
36+
page.find_element(".search-toggle").await?.click().await?;
37+
3538
// find the search bar type into the search field and hit `Enter`,
3639
// this triggers a new navigation to the search result page
37-
page.find_element("input#searchInput")
40+
page.find_element("input[name='search']")
3841
.await?
3942
.click()
4043
.await?
@@ -136,9 +139,9 @@ A: Check that your chromium language settings are set to English. `chromiumoxide
136139
Licensed under either of these:
137140

138141
- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
139-
https://www.apache.org/licenses/LICENSE-2.0)
142+
<https://www.apache.org/licenses/LICENSE-2.0>)
140143
- MIT license ([LICENSE-MIT](LICENSE-MIT) or
141-
https://opensource.org/licenses/MIT)
144+
<https://opensource.org/licenses/MIT>)
142145

143146
## References
144147

0 commit comments

Comments
 (0)