Skip to content

Commit 2bd6e1b

Browse files
committed
Update the ReadMe
1 parent 8b9a01d commit 2bd6e1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,9 @@ self.get_page_source() # This method returns the current page source.
447447
Ex:
448448
```python
449449
source = self.get_page_source()
450-
first_image_open_tag = source.find('<img>')
451-
first_image_close_tag = source.find'</img>', first_image_open_tag)
452-
everything_inside_first_image_tags = source[first_image_open_tag+len('<img>'):first_image_close_tag]
450+
head_open_tag = source.find('<head>')
451+
head_close_tag = source.find('</head>', head_open_tag)
452+
everything_inside_head = source[head_open_tag+len('<head>'):head_close_tag]
453453
```
454454

455455
#### Clicking

0 commit comments

Comments
 (0)