@@ -153,8 +153,8 @@ async def advanced_captcha_bypass():
153153 print (" Cloudflare Turnstile automatically solved!" )
154154
155155 # Continue with your automation - captcha is handled
156- await tab.find(
id = ' username' ).
type (
' [email protected] ' )
157- await tab.find(id = ' password' ).type (' password123' )
156+ await tab.find(
id = ' username' ).
type_text (
' [email protected] ' )
157+ await tab.find(id = ' password' ).type_text (' password123' )
158158 await tab.find(tag_name = ' button' , text = ' Login' ).click()
159159
160160 # Method 2: Background processing (non-blocking)
@@ -174,14 +174,6 @@ async def advanced_captcha_bypass():
174174asyncio.run(advanced_captcha_bypass())
175175```
176176
177- ** Why This Matters:**
178- - ** No External Dependencies** : No need for captcha solving services or API keys
179- - ** Cost Effective** : Eliminate monthly captcha solving service fees
180- - ** Reliable** : Works consistently without depending on third-party availability
181- - ** Fast** : Instant solving without network delays to external services
182- - ** Seamless Integration** : Captcha bypass happens transparently in your automation flow
183-
184-
185177### Advanced Element Finding
186178
187179Pydoll offers multiple intuitive ways to find elements. No matter how you prefer to work, we have an approach that makes sense for you:
@@ -289,7 +281,7 @@ async def event_driven_automation():
289281 print (" Page loaded! Starting automation..." )
290282 # Perform actions after page loads
291283 search_box = await tab.find(id = ' search-box' )
292- await search_box.type (' automation' )
284+ await search_box.type_text (' automation' )
293285
294286 # React to navigation
295287 async def on_navigation (event ):
@@ -330,7 +322,7 @@ async def iframe_interaction():
330322
331323 # You can use all Tab methods on the frame
332324 form_input = await frame.find(id = ' captcha-input' )
333- await form_input.type (' verification-code' )
325+ await form_input.type_text (' verification-code' )
334326
335327 # Find elements by various methods
336328 links = await frame.find(tag_name = ' a' , find_all = True )
0 commit comments