You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overview: The agent isn't marking the UI elements that are in the area of interest.
Details: The agent is being tasked with finding the Education section of the job application and selecting a value in the degree dropdown. The agent scrolls through the page but it visually isn't marking the UI elements in the section of interest. The only areas it marks the UI elements is at the header and footer of the web page. This makes me wonder if the agent isn't able to see the UI elements between the header and footer.
What other information can I provide to help identify the root cause for this issue I'm facing.
Code:
from langchain_google_genai import ChatGoogleGenerativeAI
from browser_use import Agent, Browser
from dotenv import load_dotenv
load_dotenv()
Overview: The agent isn't marking the UI elements that are in the area of interest.
Details: The agent is being tasked with finding the Education section of the job application and selecting a value in the degree dropdown. The agent scrolls through the page but it visually isn't marking the UI elements in the section of interest. The only areas it marks the UI elements is at the header and footer of the web page. This makes me wonder if the agent isn't able to see the UI elements between the header and footer.
What other information can I provide to help identify the root cause for this issue I'm facing.
Code:
from langchain_google_genai import ChatGoogleGenerativeAI
from browser_use import Agent, Browser
from dotenv import load_dotenv
load_dotenv()
llm = ChatGoogleGenerativeAI(model='gemini-2.0-flash', api_key='')
import asyncio
async def main():
browser = Browser()
agent = Agent(
task="""Start from the link.
Link: https://careers-unitypoint.icims.com/jobs/164669/data-governance-analyst-ii/candidate?mode=prepopulate&mobile=false&width=1230&height=500&bga=true&needsRedirect=false&jan1offset=-360&jun1offset=-300
Select "Bachelor's" degree in the Education section.""",
llm=llm,
browser=browser,
use_vision=True
)
await agent.run()
await browser.close()
if name == "main":
asyncio.run(main())
The text was updated successfully, but these errors were encountered: