589c5b06fe
- Auto-fixed 70 lint errors (import sorting, aliased errors, datetime.UTC)
- Fixed 85 remaining errors manually:
- E501: wrapped long lines in queen_profiles, catalog, routes_credentials
- F821: added missing TYPE_CHECKING imports for AgentHost, ToolRegistry,
HookContext, HookResult; added runtime imports where needed
- F811: removed duplicate method definitions in queen_lifecycle_tools
- F841/B007: removed unused variables in discovery.py
- W291: removed trailing whitespace in queen nodes
- E402: moved import to top of queen_memory_v2.py
- Fixed AgentRuntime -> AgentHost in example template type annotations
- Reformatted 343 files with ruff format
19 lines
511 B
Python
19 lines
511 B
Python
from playwright.sync_api import sync_playwright
|
|
|
|
|
|
def main():
|
|
with sync_playwright() as p:
|
|
browser = p.chromium.launch(headless=False)
|
|
page = browser.new_page()
|
|
page.goto("https://www.linkedin.com/login")
|
|
print("Please log in to LinkedIn in the opened browser window.")
|
|
input("Press Enter here when you have logged in...")
|
|
|
|
# Now search connections
|
|
print("Logged in. Ready to proceed.")
|
|
browser.close()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|