Trouble getting the screenshot of any element after zooming in
The map is contained inside <div id="map-container">
. If you take a screenshot of this element it will capture the zoomed map
element = WebDriverWait(driver,10).until(EC.visibility_of_element_located((By.ID, 'map-container')))
element.screenshot('gallery.png')
This is not an answer to your question, I was unable to get to the ticketmaster link, the web app was unable to determine my browser type and did not render the event.
If you want a screenshot of a dom element, you can call the screenshot method on the webelement object. Hope this helps.
from selenium.webdriver import Chrome
driver = Chrome()
driver.get('https://stackoverflow.com/questions/58166039/trouble-getting-a-screenshot-of-a-desired-portion-from-a-webpage')
question = driver.find_element_by_id('question-header')
question.screenshot('question.png')