42nd Week of 2022
Coding⚑
Languages⚑
Selenium⚑
-
Open a URL:
driver.get("https://duckduckgo.com/")
Get page source:
driver.page_source
Get current url:
driver.current_url
DevOps⚑
Infrastructure as Code⚑
Ansible Snippets⚑
-
New: Get the hosts of a dynamic ansible inventory.
ansible-inventory -i environments/production --graph
You can also use the
--list
flag to get more info of the hosts.