Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12141

How to automate moving items with python on a web page

$
0
0

I have been trying to make a program that brute forces infinite craft, a game where u combine 4 elements and u end up with infinite words. neal.fun/infinite-craft. So far I figured that I would use chromedriver, and use selenium. But i haven't figured out how to move around the elements to combine them.

I tried using action chains, but it didn't really work. This is what i have right now:

from selenium import webdriverimport timedriver = webdriver.Chrome()driver.get('https://neal.fun/infinite-craft/')time.sleep(5)elements = ['water', 'fire', 'earth', 'air']discovered_recipes = {}driver.quit()

Viewing all articles
Browse latest Browse all 12141

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>