Guiding ChatGPT in Chrome: Navigating to Moodle Question Banks and Editing Questions
How to prompt ChatGPT to take control of an authenticated Chrome browser, locate Moodle course question banks, filter subcategories, and inspect editing forms.
I wanted ChatGPT to help me navigate an authenticated Moodle site to find a question bank and inspect the settings of a specific question. The most time-consuming part in complex LMS menus is locating the exact course administration path.
The successful navigation path was: Course → Course Administration Menu → More → Question Bank → Questions. Once inside the question bank, scoping the category, including subcategories, and using in-page search reliably pinpointed the question.
This workflow operates on a local, already-authenticated Chrome instance. The instructions below assume a ChatGPT session with browser interaction capabilities.
Specifying the Target Browser
Start with a grounding prompt:
请使用我已经登录的 Chrome,打开 <网站地址>。
先确认当前网站、登录状态,以及能看到哪些课程管理入口。
Ask the agent to report the active page and verify it has attached to your running browser session before issuing commands.
If the browser interface fails to bind initially, you can follow up with:
请检查当前可用的浏览器和应用。
如果能控制我正在使用的 Chrome,请接着使用这个已登录的窗口。
This fallback requires local desktop computer-use tools.
Navigating from Course to Question Bank
Providing just the course name and question ID can lead the agent into site-wide search rabbit holes. Constrain the navigation path directly:
请进入 <课程名称>,找到这门课的题库。
查看课程的管理菜单和“更多”入口,找到“题库 → 试题”。
请报告实际点击路径,并把页面停在题目列表。
The verified step sequence is:
- Open the course from the course catalog.
- Turn on "Edit mode".
- Open the course action menu and choose "More...".
- Locate "Question bank" under course administration and open "Questions".
This lands directly on the question bank table with category filters.
Locating Questions: Scoping Categories and In-Page Search
Questions frequently reside in nested subcategories. Without checking subcategory inheritance, the list may appear empty:
请在这门课的题库中查找 <题目编号或名称>。
核对类别,必要时勾选“同时显示子类别的试题”,再应用过滤器。
列表加载后,用浏览器页内查找定位题目。
找到后,核对名称并报告该行的编辑入口。
After checking "Also show questions from subcategories" and applying filters, in-page search (Command + F on macOS) quickly locates the target row.
Editing Questions: Clarifying Fields and Values
Once the row is identified, formulate clear field-level instructions:
请打开这道题右侧的“编辑”菜单,进入编辑表单。
先确认题目名称和 <字段名称> 的当前值。
然后将该字段从 <原值> 改为 <目标值>。
Replacing "please update this question" with explicit field labels and target values makes inspection and rollback trivial:
请打开 <题目编号或名称> 的编辑页。
将“试题名称”改为 <新名称>。
In the question editing view, the agent can parse question titles, prompts, grading schemes, and answer choices.
Post-Save Validation Loop
Form updates require saving and re-reading to verify persistence:
请保存这次修改。
若页面出现校验提示,请报告提示和对应字段。
保存后重新打开目标题目,确认 <字段名称> 已是 <目标值>。
再使用预览检查 <期望看到的界面行为>。
请分别报告修改、保存、重新读取和预览的结果。
If you manually take over the browser mid-way, instruct the agent: "I just interacted with the page manually; please re-read the current page state before proceeding."
Note: This post outlines prompt-driven browser automation patterns for navigating deeply nested administrative web consoles.
