@@ -443,6 +443,7 @@ def test_method_extract_with_all_params_overload_1(self, client: Stagehand) -> N
443443 frame_id = "frameId" ,
444444 instruction = "Extract all product names and prices from the page" ,
445445 options = {
446+ "ignore_selectors" : ["nav" , ".cookie-banner" , "#sidebar-ads" ],
446447 "model" : {
447448 "model_name" : "openai/gpt-5.4-mini" ,
448449 "api_key" : "sk-some-openai-api-key" ,
@@ -511,6 +512,7 @@ def test_method_extract_with_all_params_overload_2(self, client: Stagehand) -> N
511512 frame_id = "frameId" ,
512513 instruction = "Extract all product names and prices from the page" ,
513514 options = {
515+ "ignore_selectors" : ["nav" , ".cookie-banner" , "#sidebar-ads" ],
514516 "model" : {
515517 "model_name" : "openai/gpt-5.4-mini" ,
516518 "api_key" : "sk-some-openai-api-key" ,
@@ -1373,6 +1375,7 @@ async def test_method_extract_with_all_params_overload_1(self, async_client: Asy
13731375 frame_id = "frameId" ,
13741376 instruction = "Extract all product names and prices from the page" ,
13751377 options = {
1378+ "ignore_selectors" : ["nav" , ".cookie-banner" , "#sidebar-ads" ],
13761379 "model" : {
13771380 "model_name" : "openai/gpt-5.4-mini" ,
13781381 "api_key" : "sk-some-openai-api-key" ,
@@ -1441,6 +1444,7 @@ async def test_method_extract_with_all_params_overload_2(self, async_client: Asy
14411444 frame_id = "frameId" ,
14421445 instruction = "Extract all product names and prices from the page" ,
14431446 options = {
1447+ "ignore_selectors" : ["nav" , ".cookie-banner" , "#sidebar-ads" ],
14441448 "model" : {
14451449 "model_name" : "openai/gpt-5.4-mini" ,
14461450 "api_key" : "sk-some-openai-api-key" ,
0 commit comments