How do I interact with arcgis.widgets

167
0
2 weeks ago
robmerritt
New Contributor III

I have a ipynb that logs in and gets me to a arcgis online and interacts with an arcgis online make purley using SELENIUM''

here is what I have loaded in the python 3.10 env

 

from arcgis.gis import GIS
from arcgis.geometry import Point, Polyline, Polygon

from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
from selenium.webdriver.common.keys import Keys
from webdriver_manager.chrome import ChromeDriverManager
import time
from selenium.webdriver.support.select import Select
from selenium.webdriver.common.by import By

 

 

 

see attached image showing I can click on the id=imgPolygon

and then 

class="esri-sketch__button esri-icon-polygon"
 
so I am set to draw a polygon how do I tell the map the polygon points that I want to draw ??? IE how would I get the GIS() object and tell it what points?

mapinteract.PNG

 

 

0 Kudos
0 Replies