I can only target with a class and need to add a "data-shipping-method" parameter to the class. Here's what I'm trying...
if (document.getElementsByClassName('div.radio-wrapper[data-shipping-method="shopify-Free%20FedEx%20Ground-0.00"][0]')) {
document.getElementsByClassName('div.radio-wrapper[data-shipping-method="shopify-FedEx%20Ground-19.00"][0]').style.visibility = 'hidden';
}
But console says: "Uncaught TypeError: Cannot set property 'visibility' of undefined"